package com.rongc.client.freight.business.carrier.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.rongc.client.core.network.api.AbsRequest;
import com.rongc.client.core.network.params.BaseParams;
import com.rongc.client.freight.ApiUrl;
import com.rongc.client.freight.UniApplication;
import com.rongc.client.freight.business.carrier.model.ConveyanceBean;


/*
*  接单中的车源列表
* */

public class ConveyanceList2MatchApi extends AbsRequest<ConveyanceList2MatchApi.ConveyanceFindParams, ConveyanceBean[]> {

    public ConveyanceList2MatchApi(ConveyanceFindParams feedbackParams, Listener<ConveyanceBean[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getList2MatchUrl(), feedbackParams, listener, errorListener, ConveyanceBean[].class);
    }

    public static class ConveyanceFindParams extends BaseParams {

        public ConveyanceFindParams() {
            put("userId", UniApplication.getInstance().getUserInfo().getUserId());
        }
    }


}
